package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Table(name = "mall_auction_item")
public class MallAuctionItem {
    @Id
    private Integer id;

    @Column(name = "package_no")
    private Long packageNo;

    @Column(name = "product_id")
    private Integer productId;

    private String grade;

    private BigDecimal quantity;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return package_no
     */
    public Long getPackageNo() {
        return packageNo;
    }

    /**
     * @param packageNo
     */
    public void setPackageNo(Long packageNo) {
        this.packageNo = packageNo;
    }

    /**
     * @return product_id
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * @return grade
     */
    public String getGrade() {
        return grade;
    }

    /**
     * @param grade
     */
    public void setGrade(String grade) {
        this.grade = grade;
    }

    /**
     * @return quantity
     */
    public BigDecimal getQuantity() {
        return quantity;
    }

    /**
     * @param quantity
     */
    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }
}